# 包含 应用代码头文件
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/code/inc)

# 添加测试代码
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/src testSrc)

add_executable(dev_test ${testSrc})
target_link_libraries(
    dev_test PRIVATE
    ${staticLib}
)
if (CPP_STUB_ENABLE)
    target_compile_definitions(dev_test
        PUBLIC CONFIG_CPP_STUB_ENABLE
    )
endif ()
add_test(NAME ut_test COMMAND dev_test)